<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="/html/axios.min.js"></script>
    <script src="/html/login.js"></script>
    <link rel="stylesheet" href="/html/login.css">
</head>
<body>
<div id="headDiv"><img style="width: 50px" height="50px" src="/html/img/6.jpg"><p>劳斯莱斯汽车之友交流中心--登录</p></div>
<hr>
<a href="/html/index.html">首页</a>
<a href="javascript:add()">注册</a>
<hr>
<div id="errorDiv" style="color: red"></div>
1.用户名：<input type="text" id="userName"><br>
2.密码：<input type="text" id="pwd"><br>
<hr>
<img src="/checkCode" id="codeImg"><a href="javascript:changCode()">看不清，换一张</a><br>
3.请输入验证码：<input type="text" id="code"><br>
<hr>
<input type="button" value="登陆" onclick="login()">



<!--这是弹出框html模板-->
<div class="showDiv" id="addDiv">
    <div class="contentDiv">

        1.用户名：<input type="text" id="addName" onblur="checkName()">
       <span id="nameSpan"></span><br>
        2.密码：<input type="text" id="addPwd" onblur="checkPwd()"><span id="pwdSpan"></span><br>
        3.确认密码：<input type="text" id="addPwd2"><br>
        4.邮箱：<input type="text" id="addEmail"><br>
        <img src="" width="200px" height="200px" id="faceImg"><br>
        5.头像：<input type="file" name="myImg" id="myFile" onchange="fileChange()"><br>
        <input type="button" onclick="submit()" value="提交"><span id="submitInfo"></span>
        <input type="button" value="返回" onclick="$('addDiv').style.visibility = 'hidden'">
    </div>
</div>

</body>
</html>